﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Role.aspx.cs" Inherits="School.SystemManage.WebPages.UserManage.Role" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../../css/right.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .item_container{ height:200px; width:150px; overflow:auto; border:1px solid #7F9DB9;}
        .item_container td{ text-align:left;}
        td{ text-align:left;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <div class="title_bg">
            <div class="floatLeft title_text_div">用户管理 > 角色管理</div> 
            <%--<ul class="floatRight">
                <li><input id="chk_Total" type="checkbox" class="floatLeft" onclick="CheckAll(this,false);" /><span class="checkAll floatLeft">全选</span><div class="clear"></div></li>
                <li class="add"><a href="../../WebPages/UserManage/UserEdit.aspx?action=add">添加</a></li>
                <li class="delete"><asp:LinkButton ID="lbtnDelete" runat="server" 
                        OnClientClick="return HasCheckedRow();" onclick="lbtnDelete_Click">删除</asp:LinkButton></li>
            </ul>--%>
            <div class="clear"></div>
        </div>
        <div>
            <table>
                <tr>
                    <td>所有角色：</td>
                    <td>权限模块：</td>
                    <td>操作权限：</td>
                </tr>
                <tr>
                    <td>
                        <asp:ListBox ID="lbxRole" runat="server" Width="150" Height="200" 
                            onselectedindexchanged="lbxRole_SelectedIndexChanged" AutoPostBack="true"></asp:ListBox>
                    </td>
                    <td>
                        <div class="item_container">
                            <asp:CheckBoxList ID="CheckBoxList1" runat="server">
                            </asp:CheckBoxList>
                        </div>
                    </td>
                    <td>
                        <div class="item_container">
                            <asp:CheckBoxList ID="cbl_Action" runat="server">
                                <asp:ListItem Value="0" Text="编辑 (增删改查)"></asp:ListItem>
                                <asp:ListItem Value="1" Text="审核"></asp:ListItem>
                                <asp:ListItem Value="2" Text="查看"></asp:ListItem>
                            </asp:CheckBoxList>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">新角色：<asp:TextBox ID="txbRoleName" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Button ID="btnAdd" runat="server" Text="新增角色" onclick="btnAdd_Click" />
                        <asp:Button ID="btnDelete" runat="server" Text="删除该角色" 
                            onclick="btnDelete_Click" />
                        <asp:Button ID="btnUpdate" runat="server" Text="权限设定" 
                            onclick="btnUpdate_Click" />                       
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Label ID="lblMsg" runat="server" Text="" CssClass="red"></asp:Label>
                    </td>
                </tr>
            </table>
            
        </div>
    </div>
    </form>
</body>
</html>
